package com.bwie;

import org.apache.ibatis.annotations.Mapper;
import org.dromara.easyes.starter.register.EsMapperScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
@SpringBootApplication
@EsMapperScan("com.bwie.product.esMapper")
@MapperScan("com.bwie.product.mapper")
@EnableFeignClients
@EnableScheduling
public class Product {
    public static void main(String[] args) {
        SpringApplication.run(Product.class);
    }
}
